<!DOCTYPE html>
<html>
<head>
<title>Teacher-Dashboard</title>
<link rel="stylesheet" type="text/css" href="teacher-dashboard.css">
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script language="javascript" type="text/javascript" src="javascripts/teacher-dashboard.js"></script>
<script language="javascript" type="text/javascript" src="flot/jquery.flot.js"></script>
<script language="javascript" type="text/javascript" src="flot/jquery.flot.categories.js"></script>

<script language = "javascript" type = "text/javascript">



function createDynamicTable (tbody, rows, cols)
 {
   if (tbody == null|| tbody.length < 1) 
	 		return;
   for (var r = 1; r <= rows; r++) 
	 {
            var trow = $("<tr>");
	 
     		 for (var c = 1; c <= cols; c++)
				 {
    		 		 var cellText = "Array row" + r + "Column" + c
    				 		 $("<td>")
    						 					.addClass("tableCell")
    											.text(cellText)
    											.data("col", c)
  												.appendTo(trow);
  			}
  			trow.appendTo(tbody);
  		}
			
}
$(document).ready(function()
{	createDynamicTable($("#course_list"),3,4)});
														 
</script>

</head>


<body class="body" >
 <div class="wrapper">

 	<div class="header">
 		<a href="teacher-dashboard.html"><img src="images/weval-logo-resize.png" alt="Logo"/></a>	
 		<div class="key">
 			<ul>
 				<li>Instructor:</li>
 				<li>Brad Peterson</li>
 <!--				<li>
					<select id="semester" onchange="get_report()">
						<option selected="selected" value="Spring 2013">Spring 2013</option>
						<option value="Fall 2012">Fall 2012</option>
						<option value="Summer 2012">Summer 2012</option>
					</select>
 				</li>-->
 			</ul>
 		</div>
 	</div>

    <div class="bar"><hr></div>

 	<div class="container">
 		<h3>Overall Course Evaluations for 
		<select>
						<option value = "Brinkerhoff, Dr. Delroy">Brinkerhoff, Dr. Delroy</option>
						<option value = "Cowan, Ted">Cowan, Ted</option>
						<option value = "Fry, Dr. Richard">Fry, Dr. Richard</option>
						<option value = "Rob Hilton">Rob Hilton</option>
						<option value = "Hilton, Spencer">Hilton, Spencer</option>
						<option value = "Jensen, Joshua">Jensen, Joshua</option>
						<option value = "Lauffer, Dr. Raji">Lauffer, Dr. Raji</option>
						<option value = "Peterson, Bradley">Peterson, Bradley</option>
						<option value = "Rague, Dr. Brian">Rague, Dr. Brian</option>
						<option value = "Rob Hilton">Rob Hilton</option>
						<option value = "Weidman, Drew">Weidman, Drew</option>
						<option value = "Zhang, Dr. Yong">Zhang, Dr. Yong</option>
		</select>		
		<select>
						<option value = "Spring 2012">Spring 2012</option>
						<option value = "Summer 2012">Summer 2012</option>
						<option value = "Fall 2012">Fall 2012</option>
						<option value = "Spring 2013">Spring 2013</option>
						<option value = "Last Year">Last Year</option>
						<option value = "Last Two Years">Last Two Years</option>
						<option value = "Last Three Years">Last Three Years</option>
						<option value = "Last Four Years">Last Four Years</option>
						<option value = "Last Five Years">Last Five Years</option>
		</select>					
		
		
		
		</h3>
    	<div class="courses">
    		<table id="course_list">
				<tbody>
			<tr>
				<th>Course/CRN</th>
				<th># of Responses</th>
				<th>Std Variation</th>
				<th>Score</th>
			</tr>
	<!--			
				</tr>
				<tr><td><a href="#">CS1400 - 123456<a></td><td>200</td><td>1.5</td><td>3.9</td></tr>
				<tr><td><a href="#">CS2420 - 234567<a></td><td>100</td><td>2.5</td><td>3.4</td></tr>
				<tr><td><a href="#">CS2420 - 345678<a></td><td>150</td><td>0.5</td><td>3.2</td></tr>
				<tr><td><a href="#">CS3230 - 456789<a></td><td>75</td><td>2.5</td><td>3.1</td></tr>
				<tr><td><a href="#">CS4230 - 567890<a></td><td>100</td><td>.75</td><td>3.1</td></tr>
    		</table>
 -->

 <!-- here is the where the dynamic table goes-->

 				
				</tbody>
 </table>
 
 
 
    <div class="footer">
    	Weber State University
   		Copyright &copy 2013
    <div>
 </div>

</body>
</html>

